function [ k ] = getPolibaseDimension( order )
%GETPOLIBASEDIMENSION Returns the number of elements of the base of
%                     polinomials of order 'order' in R² euclidian space.
%   

if(order == 1)
    k = 3;      %   Complete linear polinomials
else
    if(order == 2)
        k = 6;  %   Complete quadratic polinomials
    else
        error('Polinomial base Order no supported!');
    end;
end

end

